package com.gengzi.item.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name="tb_spu_detail")
@Data
@ApiModel(value="spu,描述的是一个抽象性的商品")
public class SpuDetail {
    @Id
    @ApiModelProperty(value="spu id")
    private Long spuId;
    @ApiModelProperty(value="商品描述信息")
    private String description;
    @ApiModelProperty(value="通用规格参数数据")
    private String specialSpec;
    @ApiModelProperty(value="特有规格参数及可选值信息，json格式")
    private String genericSpec;
    @ApiModelProperty(value="包装清单")
    private String packingList;
    @ApiModelProperty(value="售后服务")
    private String afterService;

}